<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
        <title>Fuck the police!!!</title>
        <script type="text/javascript">
            legal_num_char_title = 40;
            legal_num_char_comment = 200;
            function tryVars(){
                /*num_char_title = document.get_comment_form.titulo.value.length;
                num_char_comment = document.get_comment_form.comentario.value.length;
                if ((document.get_comment_form.mail_form.value.indexOf('@', 0) == -1) || (document.get_comment_form.mail_form.value.length < 5)) {
                    document.get_comment_form.mail_form.value = "";
                    document.get_comment_form.mail_form.focus();
                    alert("La direccion de correo electronico no es valida.");
                    return 0;
                }
                if (((num_char_title > legal_num_char_title) && (num_char_title > 0)) || (num_char_title < 1)){
                    document.get_comment_form.titulo_form.value = "";
                    document.get_comment_form.tirulo_form.focus();
                    alert("El titulo no es valido.");
                    return 0;
                }
                if (((num_char_comment > legal_num_char_comment) && (num_char_comment > 0)) || (num_char_comment < 1)){
                    document.get_comment_form.comentario_form.value = "";
                    document.get_comment_form.comentario_form.focus();
                    alert("El comentario no es valido.");
                    return 0;
                }*/
                document.get_comment_form.submit();
            }
        </script>
        <title>Fuck the police!!!</title>
    </head>
    <body>
        <?php
            $lat = $_GET['lat'];
            $lng = $_GET['lng'];
            echo "ATesting Google Code!";
        ?>
        <form name="get_comment_form" method="post" action="points/add_point.php">
            <p><b>Email</b> <input type="text" name="mail" size="40"></p>
            <p><b>Titulo</b> <input type="text" name="titulo" size="30"></p>
            <p><b>Comentario</b><textarea name="comentario" rows="5" cols="40"></textarea><p>
            <input type="hidden" name="lat" value="<?php echo $lat ?>">
            <input type="hidden" name="lng" value="<?php echo $lng ?>">
            <input type="button" value="Enviar" onClick="tryVars()">
        </form>
    </body>
</html>